package com.huishen.edrivenew.bean;

import com.google.gson.Gson;
import com.huishen.edrivenew.base.BaseBean;
import com.huishen.edrivenew.util.TLog;

import org.json.JSONObject;

import java.util.List;

/**
 *
 */
public class LessBean extends BaseBean {

    public List<LessInfoBean> lessonCount;

    public LessonLimitBean lessonLimit;


    public static BaseBean parseJson(JSONObject jsonObj) {
        Gson gson = new Gson();

        LessBean bean = gson.fromJson(jsonObj.toString(), LessBean.class);

        TLog.log("LessonLimitBean  " + bean.lessonLimit.km2AM + " " + bean.lessonLimit.km2PM);

        return bean;
    }


}
